package com.dayatang.hrm.compensation.domain;

import java.util.List;

import com.dayatang.commons.domain.EntityRepository;

public interface PayRollRepository extends
		EntityRepository<PayRoll, Long> {

	List<FiscalPeriod> findFiscalPeriodByAccountSuite(
			SalaryAccountSuite accountSuite);

	List<SalaryAccountSuite> findAccountSuiteByFiscalPeriod(
			FiscalPeriod fiscalPeriod);

	boolean isAlreadyUsed(SalaryAccountSuite salaryAccountSuite,
			FiscalPeriod fiscalPeriod);

	void removeAll(PayRoll payRoll);


}
